package com.eduagent.xwqeduagent.openFeign.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.data.annotation.Id;

import java.security.Timestamp;

@TableName("users") // 确保和数据库表名一致
public class User {
    @Id
    private String id;
    private String username;
    private String password;
    private UserRole role;

    private String phone;
    private String imgUrl;

    private Integer deleted; // 0:未删除, 1:已删除
    private Timestamp created_at;
}